package com.education.platform.common.exception;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 参数异常类
 */
@Getter
@Setter
@ToString
public class ParameterException extends RuntimeException {

    private String code;

    public ParameterException(String message) {
        super(message);
    }

    public ParameterException(String message, String code) {
        super(message);
        this.code = code;
    }

}
